package Studentsystem;

/**
 * @ProjectName: ybxy6
 * @Titile: Student
 * @Author: 86183
 * @Description: TODO
 */
public class Student {
    private String id;
    private String name;
    private String gender;
    private String age;
    private String address;
//无参构造方法
    public Student() {
    }
//有参构造方法
    public Student(String id, String name, String gender, int age, String address) {

        this.id = id;
        this.name = name;
        this.gender = gender;
        this.age = Integer.toString(age);
        this.address = address;
    }

    //
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getGender() {
        return this.gender;
    }
    public void setGender(String gender) {
        this.gender = gender;
    }

    public Object getAge() {
        return this.age;
    }
    public void setAge(String age) {
        this.age = age;
    }

    public Object getAddress() {
        return this.address;
    }
public void setAddress(String address) {
        this.address = address;
    }

}